package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class Address implements Serializable {
    private Integer addressId;

    private Integer userId;

    private String locationAddress;

    private String detailedAddress;

    private Integer sort;

    private Integer isDefault;

    private Date createTime;

    private Integer isDel;

    private String receiveName;

    private String receivePhone;

    private String cityName;

    private String latitude;

    private String longitude;

    private static final long serialVersionUID = 1L;

    public Address(Integer addressId, Integer userId, String locationAddress, String detailedAddress, Integer sort, Integer isDefault, Date createTime, Integer isDel, String receiveName, String receivePhone, String cityName, String latitude, String longitude) {
        this.addressId = addressId;
        this.userId = userId;
        this.locationAddress = locationAddress;
        this.detailedAddress = detailedAddress;
        this.sort = sort;
        this.isDefault = isDefault;
        this.createTime = createTime;
        this.isDel = isDel;
        this.receiveName = receiveName;
        this.receivePhone = receivePhone;
        this.cityName = cityName;
        this.latitude = latitude;
        this.longitude = longitude;
    }

    public Address() {
        super();
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLocationAddress() {
        return locationAddress;
    }

    public void setLocationAddress(String locationAddress) {
        this.locationAddress = locationAddress == null ? null : locationAddress.trim();
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress == null ? null : detailedAddress.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName == null ? null : receiveName.trim();
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone == null ? null : receivePhone.trim();
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName == null ? null : cityName.trim();
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude == null ? null : longitude.trim();
    }
}